package com.atguigu.schedule.service;

import com.atguigu.schedule.pojo.RecordingResponse;
import com.atguigu.schedule.pojo.StartRecordingRequest;

import java.util.Map;

/**
 * FFmpeg录制服务接口
 */
public interface FFmpegRecordingService {
    
    /**
     * 开始录制
     */
    RecordingResponse startRecording(StartRecordingRequest request);
    
    /**
     * 停止录制
     */
    boolean stopRecording(Long recordingId);
    
    /**
     * 检查FFmpeg是否可用
     */
    boolean isFFmpegAvailable();
    
    /**
     * 获取录制进程状态
     */
    Map<String, Object> getRecordingProcessStatus(Long recordingId);
}
